100
I have a picture on the control's background, the question is how do I draw selection as semi-transparent

public void init()
{
	;

	super();

	exlist1.Picture(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exlist1.SelBackMode(1/*exTransparent*/);
	exlist1.Columns().Add("Column");
	exlist1.Items().Add("Item 1");
	exlist1.Items().Add("Item 2");
}
99
It seems that the control uses the TAB key, is there any way to avoid that
public void init()
{
	;

	super();

	exlist1.UseTabKey(false);
}
98
How do I assign a database to your control, using ADO, ADOR or ADODB objects

public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	exlist1.ColumnAutoResize(false);
	exlist1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exlist1.DataSource(rs);
}
97
How do I change the visual appearance effect for the selected item, using EBN

public void init()
{
	;

	super();

	exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exlist1.SelBackColor(0x1000000);
	exlist1.SelForeColor(WinApi::RGB2int(0,0,0));
	exlist1.ShowFocusRect(false);
	exlist1.Columns().Add("Column");
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add(COMVariant::createFromInt(1));
}
96
How do I change the colors for the selected item

public void init()
{
	;

	super();

	exlist1.SelBackColor(WinApi::RGB2int(0,0,0));
	exlist1.Columns().Add("Column");
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add(COMVariant::createFromInt(1));
}
95
How do I get ride of the rectangle arround focused item

public void init()
{
	;

	super();

	exlist1.ShowFocusRect(false);
	exlist1.Columns().Add("Column");
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add(COMVariant::createFromInt(1));
}
94
How can I change the control's font

public void init()
{
	;

	super();

	exlist1.Font().Name("Tahoma");
	exlist1.Columns().Add("Column");
}
93
I can't scroll to the end of the data. What can I do

public void init()
{
	COM com_Items,com_Items1,com_Items2,com_Items3;
	anytype var_Items,var_Items1,var_Items2,var_Items3;
	;

	super();

	exlist1.ScrollBySingleLine(true);
	exlist1.DrawGridLines(-1/*exAllLines*/);
	exlist1.Columns().Add("Column");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.ItemHeight(com_Items.Add(COMVariant::createFromInt(0)),13);
	exlist1.PutItems(exlist1.GetItems(COMVariant::createFromInt(0)));
	var_Items1 = exlist1.Items(); com_Items1 = var_Items1;
		com_Items1.ItemHeight(com_Items1.Add(COMVariant::createFromInt(1)),26);
	exlist1.PutItems(exlist1.GetItems(COMVariant::createFromInt(0)));
	var_Items2 = exlist1.Items(); com_Items2 = var_Items2;
		com_Items2.ItemHeight(com_Items2.Add(COMVariant::createFromInt(2)),36);
	exlist1.PutItems(exlist1.GetItems(COMVariant::createFromInt(0)));
	var_Items3 = exlist1.Items(); com_Items3 = var_Items3;
		com_Items3.ItemHeight(com_Items3.Add(COMVariant::createFromInt(3)),48);
	exlist1.PutItems(exlist1.GetItems(COMVariant::createFromInt(0)));
}
92
Is there any option to select an item using the right button of the mouse (rclick)

public void init()
{
	;

	super();

	exlist1.RClickSelect(true);
	exlist1.Columns().Add("Column");
	exlist1.Items().Add("Item 1");
	exlist1.Items().Add("Item 2");
}
91
How do I edit a cell

// AfterCellEdit event - Occurs after data in the current cell is edited.
void onEvent_AfterCellEdit(int   _ItemIndex,int   _ColIndex,str   _NewCaption)
{
	;
	exlist1.Items().Caption(_ItemIndex,_ColIndex,_NewCaption);
}

// CancelCellEdit event - Occurs if the edit operation is canceled.
void onEvent_CancelCellEdit(int   _ItemIndex,int   _ColIndex,COMVariant   _Reserved)
{
	;
	exlist1.Items().Caption(_ItemIndex,_ColIndex,_Reserved);
}

public void init()
{
	;

	super();

	exlist1.AllowEdit(true);
	exlist1.Columns().Add("Column");
	exlist1.Items().Add("Item 1");
	exlist1.Items().Add("Item 2");
}
90
I have FullRowSelect property on False, how do I select a column

public void init()
{
	;

	super();

	exlist1.SelectColumnIndex(1);
	exlist1.FullRowSelect(false);
}
89
How can I scroll columns one by one, not pixel by pixel
public void init()
{
	;

	super();

	exlist1.ContinueColumnScroll(false);
	exlist1.ColumnAutoResize(false);
	COM::createFromVariant(exlist1.Columns().Add("1")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("2")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("3")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("4")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("5")).Width(128);
}
88
How can I enable multiple items selection

public void init()
{
	;

	super();

	exlist1.SingleSel(false);
	exlist1.Columns().Add("Column");
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add(COMVariant::createFromInt(1));
	exlist1.Items().Add(COMVariant::createFromInt(2));
}
87
How can I programmatically change the column where incremental searching is performed

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.Columns().Add("Column 1");
	exlist1.Columns().Add("Column 2");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("Item 1"),COMVariant::createFromInt(1),"SubItem 1");
	exlist1.SearchColumnIndex(1);
}
86
How do I disable the full-row selection in the control

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	;

	super();

	exlist1.FullRowSelect(false);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
		com_Columns.Add("C3");
		var_Column = COM::createFromObject(com_Columns.Item(COMVariant::createFromInt(0))); com_Column = var_Column;
		com_Column.Position(1);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("One");
		com_Items.Add("Two");
		com_Items.Add("Three");
}
85
Is there any option to specify the height of the items, before adding them

public void init()
{
	;

	super();

	exlist1.DefaultItemHeight(32);
	exlist1.Columns().Add("Column");
	exlist1.Items().Add("One");
	exlist1.Items().Add("Two");
}
84
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.CountLockedColumns(1);
	exlist1.BackColorLock(WinApi::RGB2int(240,240,240));
	exlist1.ColumnAutoResize(false);
	COM::createFromVariant(exlist1.Columns().Add("Locked")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("Un-Locked 1")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("Un-Locked 2")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("Un-Locked 3")).Width(128);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("locked"),COMVariant::createFromInt(1),"unlocked");
}
83
How do I change the control's background / foreground color on the locked area

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.CountLockedColumns(1);
	exlist1.ForeColorLock(WinApi::RGB2int(240,240,240));
	exlist1.BackColorLock(WinApi::RGB2int(128,128,128));
	exlist1.ColumnAutoResize(false);
	COM::createFromVariant(exlist1.Columns().Add("Locked")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("Un-Locked 1")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("Un-Locked 2")).Width(128);
	COM::createFromVariant(exlist1.Columns().Add("Un-Locked 3")).Width(128);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("locked"),COMVariant::createFromInt(1),"unlocked");
}
82
How do I change the control's foreground color

public void init()
{
	;

	super();

	exlist1.ForeColor(WinApi::RGB2int(120,120,120));
	exlist1.Columns().Add("Column");
	exlist1.Items().Add("item");
}
81
How do I change the control's background color

public void init()
{
	;

	super();

	exlist1.BackColor(WinApi::RGB2int(200,200,200));
}
80
How do I use my own icons for my radio buttons

public void init()
{
	COM com_Items;
	anytype var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exlist1.Images(COMVariant::createFromStr(var_s));
	exlist1.RadioImage(0,1);
	exlist1.RadioImage(1,2);
	COM::createFromVariant(exlist1.Columns().Add("Radio")).Def(1/*exCellHasRadioButton*/,COMVariant::createFromBoolean(true));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Radio 1");
		com_Items.CellState(com_Items.Add("Radio 2"),COMVariant::createFromInt(0),1);
		com_Items.Add("Radio 3");
}
79
How do I use my own icons for checkbox cells

public void init()
{
	COM com_Items;
	anytype var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exlist1.Images(COMVariant::createFromStr(var_s));
	exlist1.CheckImage(0/*Unchecked*/,1);
	exlist1.CheckImage(1/*Checked*/,2);
	COM::createFromVariant(exlist1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Check 1");
		com_Items.CellState(com_Items.Add("Check 2"),COMVariant::createFromInt(0),1);
}
78
How do I perform my own sorting when user clicks the column's header

public void init()
{
	;

	super();

	exlist1.SortOnClick(1/*exUserSort*/);
	exlist1.Columns().Add("Column");
	exlist1.Items().Add("Item 1");
	exlist1.Items().Add("Item 2");
}
77
How do I disable sorting a specified column when clicking its header
public void init()
{
	;

	super();

	exlist1.Columns().Add("1");
	COM::createFromVariant(exlist1.Columns().Add("NoSort")).AllowSort(false);
}
76
How do I disable sorting the columns when clicking the control's header
public void init()
{
	;

	super();

	exlist1.SortOnClick(0/*exNoSort*/);
	exlist1.Columns().Add("1");
	exlist1.Columns().Add("2");
}
75
How do I put a picture on the center of the control

public void init()
{
	;

	super();

	exlist1.Picture(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exlist1.PictureDisplay(17/*MiddleCenter*/);
}
74
How do I resize/stretch a picture on the control's background

public void init()
{
	;

	super();

	exlist1.Picture(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exlist1.PictureDisplay(49/*Stretch*/);
}
73
How do I put a picture on the control's center right bottom side

public void init()
{
	;

	super();

	exlist1.Picture(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exlist1.PictureDisplay(34/*LowerRight*/);
}
72
How do I put a picture on the control's center left bottom side

public void init()
{
	;

	super();

	exlist1.Picture(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exlist1.PictureDisplay(32/*LowerLeft*/);
}
71
How do I put a picture on the control's center top side

public void init()
{
	;

	super();

	exlist1.Picture(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exlist1.PictureDisplay(1/*UpperCenter*/);
}
70
How do I put a picture on the control's right top corner

public void init()
{
	;

	super();

	exlist1.Picture(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exlist1.PictureDisplay(2/*UpperRight*/);
}
69
How do I put a picture on the control's left top corner

public void init()
{
	;

	super();

	exlist1.Picture(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exlist1.PictureDisplay(0/*UpperLeft*/);
}
68
How do I put a picture on the control's background

public void init()
{
	;

	super();

	exlist1.Picture(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
}
67
How do I sort descending a column, and put the sorting icon in the column's header

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.Columns().Add("Column");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
	var_Column = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(2/*SortDescending*/);
}
66
How do I sort ascending a column, and put the sorting icon in the column's header

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.Columns().Add("Column");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 3");
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
	var_Column = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
}
65
How do I perform my own/custom sort, using my extra numbers

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("desc")).SortType(5/*SortUserData*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellData(com_Items.Add(COMVariant::createFromInt(0)),COMVariant::createFromInt(0),COMVariant::createFromInt(2));
		com_Items.CellData(com_Items.Add(COMVariant::createFromInt(1)),COMVariant::createFromInt(0),COMVariant::createFromInt(1));
		com_Items.CellData(com_Items.Add(COMVariant::createFromInt(2)),COMVariant::createFromInt(0),COMVariant::createFromInt(0));
		com_Items.Sort(COMVariant::createFromInt(0),false);
}
64
By default, the column gets sorted as strings, so how do I sort a column by time only

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("desc")).SortType(4/*SortTime*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("11:00");
		com_Items.Add("10:10");
		com_Items.Add("12:12");
		com_Items.Sort(COMVariant::createFromInt(0),false);
}
63
By default, the column gets sorted as strings, so how do I sort a column by date and time

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("desc")).SortType(3/*SortDateTime*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("1/1/2001 11:00");
		com_Items.Add("1/1/2001 10:10");
		com_Items.Add("1/3/2003");
		com_Items.Sort(COMVariant::createFromInt(0),false);
}
62
By default, the column gets sorted as strings, so how do I sort a column by dates

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("desc")).SortType(2/*SortDate*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("1/1/2001");
		com_Items.Add("1/2/2002");
		com_Items.Add("1/3/2003");
		com_Items.Sort(COMVariant::createFromInt(0),false);
}
61
How do I sort a column by numbers

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("desc")).SortType(1/*SortNumeric*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add(COMVariant::createFromInt(1));
		com_Items.Add(COMVariant::createFromInt(5));
		com_Items.Add(COMVariant::createFromInt(10));
		com_Items.Sort(COMVariant::createFromInt(0),false);
}
60
How do I hide the control's header bar
public void init()
{
	;

	super();

	exlist1.HeaderVisible(false);
}
59
How do change the visual appearance for the control's header bar, using EBN

public void init()
{
	;

	super();

	exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exlist1.BackColorHeader(0x1000000);
}
58
How do I remove the control's border
public void init()
{
	;

	super();

	exlist1.Appearance(0/*None2*/);
}
57
How can I get ride/hide of the "Filter For" field

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
}
56
How do I filter for items that match exactly the specified string

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("Item 1");
	exlist1.Items().Add("Item 1");
	exlist1.Items().Add("Item 2");
	exlist1.Items().Add("Item 3");
	exlist1.ApplyFilter();
}
55
How can I can I programmatically filter for items with a specified icon assigned

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exlist1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(10/*exImage*/);
		com_Column.Filter(1);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellImage(com_Items.Add("Image 1"),COMVariant::createFromInt(0),1);
		com_Items.CellImage(com_Items.Add("Image 1"),COMVariant::createFromInt(0),1);
		com_Items.CellImage(com_Items.Add("Image 2"),COMVariant::createFromInt(0),2);
		com_Items.CellImage(com_Items.Add("Image 3"),COMVariant::createFromInt(0),3);
	exlist1.ApplyFilter();
}
54
How can I can I programmatically filter the checked items

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(6/*exCheck*/);
		com_Column.Filter(0);
	exlist1.Items().Add(COMVariant::createFromInt(0));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellState(com_Items.Add(COMVariant::createFromInt(1)),COMVariant::createFromInt(0),1);
	exlist1.Items().Add(COMVariant::createFromInt(2));
	exlist1.ApplyFilter();
}
53
How can I can I filter programmatically the items based on some numerichal rules

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(5/*exNumeric*/);
		com_Column.Filter("> 0 <= 1");
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add(COMVariant::createFromInt(1));
	exlist1.Items().Add(COMVariant::createFromInt(2));
	exlist1.ApplyFilter();
}
52
How can I can I filter programmatically the items based on a range/interval of dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterType(4/*exDate*/);
		com_Column.Filter("1/1/2001 to 1/1/2002");
	exlist1.Items().Add("1/1/2001");
	exlist1.Items().Add("2/1/2002");
	exlist1.ApplyFilter();
}
51
How can I can I filter programmatically given a specified pattern using wild characters like * or

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(3/*exPattern*/);
		com_Column.Filter("0*");
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add("00");
	exlist1.Items().Add(COMVariant::createFromInt(1));
	exlist1.Items().Add("11");
	exlist1.ApplyFilter();
}
50
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exlist1.ApplyFilter();
}
49
How can I display the column's filter

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("")).DisplayFilterButton(true);
}
48
How can I show only the vertical scroll bar

public void init()
{
	;

	super();

	exlist1.ColumnAutoResize(true);
	exlist1.ScrollBars(10/*DisableNoVertical*/);
	exlist1.Columns().Add(1);
	exlist1.Columns().Add(2);
}
47
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(6/*exCheck*/);
		com_Column.Filter(0);
	exlist1.Description(21/*exFilterBarIsChecked*/,"Check_On");
	exlist1.Description(22/*exFilterBarIsUnchecked*/,"Check_Off");
	exlist1.ApplyFilter();
}
46
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(6/*exCheck*/);
	exlist1.Description(19/*exFilterBarChecked*/,"with check on");
	exlist1.Description(20/*exFilterBarUnchecked*/,"with check off");
}
45
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exlist1.Description(18/*exFilterBarDateWeekDays*/,"Du Lu Ma Mi Jo Vi Si");
	exlist1.ApplyFilter();
}
44
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exlist1.Description(17/*exFilterBarDateMonths*/,"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre");
	exlist1.ApplyFilter();
}
43
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exlist1.Description(16/*exFilterBarDateTodayCaption*/,"Azi");
	exlist1.ApplyFilter();
}
42
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exlist1.Description(13/*exFilterBarDateTo*/,"->");
	exlist1.ApplyFilter();
}
41
How can I filter the items that are between an interval/range of dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exlist1.ApplyFilter();
}
40
Can I change the "Date:" caption when the column's drop down filter window is shown

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exlist1.Description(12/*exFilterBarDate*/,"Range");
	exlist1.ApplyFilter();
}
39
Can I filter for values using OR - NOT , instead AND operator

public void init()
{
	COM com_Column,com_Column1,com_Column2;
	anytype var_Column,var_Column1,var_Column2;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column 1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	var_Column1 = COM::createFromVariant(exlist1.Columns().Add("Column 2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterType(1/*exBlanks*/);
	var_Column2 = COM::createFromVariant(exlist1.Columns().Add("Column 3")); com_Column2 = var_Column2;
		com_Column2.DisplayFilterButton(true);
		com_Column2.FilterType(1/*exBlanks*/);
	exlist1.FilterCriteria("%0 or not %1 and %2");
	exlist1.ApplyFilter();
}
38
Can I change the NOT string in the filter bar

public void init()
{
	COM com_Column,com_Column1;
	anytype var_Column,var_Column1;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column 1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	var_Column1 = COM::createFromVariant(exlist1.Columns().Add("Column 2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterType(2/*exNonBlanks*/);
	exlist1.FilterCriteria("not %0 or %1");
	exlist1.Description(24/*exFilterBarNot*/," ! ");
	exlist1.Description(10/*exFilterBarIsNonBlank*/," ! IsBlank");
	exlist1.ApplyFilter();
}
37
Can I change the OR string in the filter bar

public void init()
{
	COM com_Column,com_Column1;
	anytype var_Column,var_Column1;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column 1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	var_Column1 = COM::createFromVariant(exlist1.Columns().Add("Column 2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterType(2/*exNonBlanks*/);
	exlist1.FilterCriteria("%0 or %1");
	exlist1.Description(23/*exFilterBarOr*/," | ");
	exlist1.ApplyFilter();
}
36
Can I change the AND string in the filter bar

public void init()
{
	COM com_Column,com_Column1;
	anytype var_Column,var_Column1;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column 1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	var_Column1 = COM::createFromVariant(exlist1.Columns().Add("Column 2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterType(2/*exNonBlanks*/);
	exlist1.Description(11/*exFilterBarAnd*/," & ");
	exlist1.ApplyFilter();
}
35
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exlist1.Description(9/*exFilterBarIsBlank*/,"Is Empty");
	exlist1.Description(10/*exFilterBarIsNonBlank*/,"Is Not Empty");
	exlist1.ApplyFilter();
}
34
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column")).DisplayFilterButton(true);
	exlist1.Description(4/*exFilterBarFilterTitle*/,"");
	exlist1.Description(5/*exFilterBarPatternFilterTitle*/,"");
	exlist1.Description(6/*exFilterBarTooltip*/,"");
	exlist1.Description(7/*exFilterBarPatternTooltip*/,"");
	exlist1.Description(8/*exFilterBarFilterForTooltip*/,"");
	exlist1.Description(14/*exFilterBarDateTooltip*/,"");
	exlist1.Description(15/*exFilterBarDateTitle*/,"");
}
33
How can I change the "Filter For" caption in the column's drop down filter window

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column")).DisplayFilterButton(true);
	exlist1.Description(3/*exFilterBarFilterForCaption*/,"new caption");
}
32
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column")).DisplayFilterButton(true);
	exlist1.Description(0/*exFilterBarAll*/,"");
	exlist1.Description(1/*exFilterBarBlanks*/,"");
	exlist1.Description(2/*exFilterBarNonBlanks*/,"");
}
31
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column")).DisplayFilterButton(true);
	exlist1.Description(0/*exFilterBarAll*/,"new name for (All)");
}
30
How can I change the position of the column

public void init()
{
	;

	super();

	exlist1.Columns().Add("Column 1");
	COM::createFromVariant(exlist1.Columns().Add("Column 2")).Position(0);
}
29
Can I make strikeout the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HeaderStrikeOut(true);
}
28
How can I apply an strikeout font only a portion of the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HTMLCaption("<s>Col</s>umn 1");
}
27
How can I get underlined only a portion of column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HTMLCaption("<u>Col</u>umn 1");
}
26
How can I underline the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HeaderUnderline(true);
}
25
How can I apply an italic font only a portion of the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HTMLCaption("<i>Col</i>umn 1");
}
24
Is there any option to make italic the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HeaderItalic(true);
}
23
How can I bold only a portion of the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HTMLCaption("<b>Col</b>umn 1");
}
22
Is there any option to bold the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HeaderBold(true);
}
21
Is there any option to change the color for the grid lines

public void init()
{
	;

	super();

	exlist1.Columns().Add("");
	exlist1.DrawGridLines(-1/*exAllLines*/);
	exlist1.GridLineColor(WinApi::RGB2int(255,0,0));
}
20
Can I change the font to display the column's header

public void init()
{
	;

	super();

	exlist1.HeaderHeight(34);
	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HTMLCaption("<font Tahoma;14>Column</font> 1");
}
19
Can I change the height of the header bar

public void init()
{
	;

	super();

	exlist1.HeaderHeight(32);
}
18
Can I display multiple icons to the column's header

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exlist1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(exlist1.Columns().Add("Column 1")).HTMLCaption("1<img>1</img> 2 <img>2</img>...");
}
17
How can I show the control's grid lines

public void init()
{
	;

	super();

	exlist1.MarkSearchColumn(false);
	exlist1.DrawGridLines(-1/*exAllLines*/);
	exlist1.Columns().Add("Column 1");
	exlist1.Columns().Add("Column 2");
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add(COMVariant::createFromInt(1));
	exlist1.Items().Add(COMVariant::createFromInt(2));
}
16
How can I assign a different background color for the entire column

public void init()
{
	;

	super();

	exlist1.MarkSearchColumn(false);
	COM::createFromVariant(exlist1.Columns().Add("Column 1")).Def(4/*exCellBackColor*/,COMVariant::createFromInt(255));
	exlist1.Columns().Add("Column 2");
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add(COMVariant::createFromInt(1));
	exlist1.Items().Add(COMVariant::createFromInt(2));
}
15
How can I assign a check box for a cell

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.Columns().Add("Column 1");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add(COMVariant::createFromInt(0));
		com_Items.CellHasCheckBox(com_Items.Add(COMVariant::createFromInt(1)),COMVariant::createFromInt(0),true);
		com_Items.Add(COMVariant::createFromInt(2));
}
14
How can I assign checkboxes for the entire column

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column 1")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add(COMVariant::createFromInt(1));
	exlist1.Items().Add(COMVariant::createFromInt(2));
}
13
How can I show both scrollbars

public void init()
{
	;

	super();

	exlist1.ScrollBars(15/*DisableBoth*/);
}
12
How can I change the column's width

public void init()
{
	;

	super();

	exlist1.ColumnAutoResize(false);
	COM::createFromVariant(exlist1.Columns().Add("Column 1")).Width(64);
	COM::createFromVariant(exlist1.Columns().Add("Column 2")).Width(128);
}
11
How can I show or hide a column
public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Hidden")).Visible(false);
}
10
How can I hide the searching column

public void init()
{
	;

	super();

	exlist1.MarkSearchColumn(false);
	exlist1.Columns().Add("Column 1");
	exlist1.Columns().Add("Column 2");
	exlist1.Items().Add();
}
9
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Unsortable")).AllowSort(false);
	exlist1.Columns().Add("Sortable");
}
8
Is there any option to align the header to the left and the data to the right

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Left")).Alignment(0/*LeftAlignment*/);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Right")); com_Column = var_Column;
		com_Column.Alignment(2/*RightAlignment*/);
		com_Column.HeaderAlignment(2/*RightAlignment*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("left"),COMVariant::createFromInt(1),"right");
}
7
Can I displays a custom size picture to column's header

public void init()
{
	;

	super();

	exlist1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	exlist1.HeaderHeight(48);
	COM::createFromVariant(exlist1.Columns().Add("ColumnName")).HTMLCaption("<b>HTML</b> Column <img>pic1</img> Picture");
}
6
How can I insert an icon to column's header

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exlist1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(exlist1.Columns().Add("ColumnName")).HTMLCaption("<b>HTML</b> Column <img>1</img> Icon");
}
5
How can I insert an icon to column's header

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exlist1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(exlist1.Columns().Add("ColumnName")).HeaderImage(1);
}
4
How can I use HTML format in column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("ColumnName")).HTMLCaption("<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn");
}
3
How can I change/rename the column's name

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("ColumnName")).Caption("NewName");
}
2
How can I add multiple columns

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		com_Columns.Add("Column 2");
}
1
How can I add a new column

public void init()
{
	;

	super();

	exlist1.Columns().Add("ColumnName");
}